<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../head.jsp"%>     
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
</head>
<body>


<!-- 禁止表单重复提交，在struts2框架中通token标签完成 -->
<s:form action="%{#basePath}/avoidformsubmore" method="post">
 <s:token></s:token>
 姓名：：
 <s:textfield name="username"></s:textfield> 
 <br>
 密码：：
 <s:password name="password"></s:password>
 
 <s:submit value="提交"></s:submit>
</s:form>
</body>
</html>